package com.aizhixin.lab.project.course.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class StuProjectVo {
    @ApiModelProperty(value = "项目Id")
    private String id;
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @ApiModelProperty(value = "课时")
    private Integer classHour;
    @ApiModelProperty(value = "项目描述")
    private String projectDesc;
    @ApiModelProperty(value = "项目图片")
    private String projectImageUrl;
    @ApiModelProperty(value = "项目类型")
    private String projectType;
    @ApiModelProperty(value = "任务数")
    private Integer taskNum;
    @ApiModelProperty(value = "工单数")
    private Integer workOrderNum;
    @ApiModelProperty(value = "模块数")
    private Integer moduleNum;
    @ApiModelProperty(value = "是否发布")
    private Integer isPublish;
    @ApiModelProperty(value = "项目资料数")
    private Integer projectTotalFileNum;
    @ApiModelProperty(value = "发布时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdDate;
    @ApiModelProperty(value = "备选项目")
    private Integer bftProject;
    @ApiModelProperty(value = "练习项目")
    private Integer testProject;
    @ApiModelProperty(value = "其他老师")
    private String otherTeacher;
    @ApiModelProperty("授课老师")
    private String teacherName;
    @ApiModelProperty
    private Long teacherId;
    @ApiModelProperty("班级数")
    private Integer classNum;
    private String role;

    List<StuProjectVo> stuProjectVoList = new ArrayList<>();
    @ApiModelProperty("小组")
    private String groupId;
    @ApiModelProperty("父类ID")
    private String parentId;
    private Boolean isLeaderGrade=false;
}
